package com.example.usercrud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class UserCrudApplication {

    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(UserCrudApplication.class, args);
        UserConsole console = context.getBean(UserConsole.class);
        console.start();

    }
}